<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Functions which untaint the tainted string</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="taint.detail.taint.html">« Functions and statements which will check tainted string</a></li>
      <li style="float: right;"><a href="ref.taint.html">Taint 函数 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="taint.detail.html">More Details</a></li>
    <li>Functions which untaint the tainted string</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="taint.detail.untaint" class="section">
  <h2 class="title">Functions which untaint the tainted string</h2>
  <p class="para">
   <table class="doctable table">
    
    
      <col />
      <col />
     <thead>
      <tr>
       <th>Function</th>
       <th>Since</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>addslashes</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>addcslashes</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>htmlspecialchars</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>htmlentities</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>escapeshellcmd</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>mysql_escape_string</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>mysql_real_escape_string</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>mysqli_escape_string/MySQLi::escape_string</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>mysqli_real_escape_string/MySQLi::real_escape_string</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>sqlite_escape_string/SqliteDataBase::escapeString</td>
       <td>0.3.0</td>
      </tr>

      <tr>
       <td>PDO::quote</td>
       <td>0.3.0</td>
      </tr>

     </tbody>
    
   </table>

  </p>

 </div></div></div></body></html>